package com.zbkj.dal.base.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum UserActivityTypeEnums {

    USER_REGISTRY("USER_REGISTRY", "账户注册"),
    OPERATE_SHARE_PROFIT("OPERATE_SHARE_PROFIT", "操作分润权限"),
    USER_DISABLE("USER_DISABLE", "账户禁用"),
    USER_LOGOFF("USER_LOGOFF", "账户注销"),
    USER_BIND("USER_BIND", "关系建立"),
    USER_UNBIND("USER_UNBIND", "关系解除"),
    USER_SCAN_INVITE_QRCODE("USER_SCAN_INVITE_QRCODE", "扫邀请码进入"),
    USER_LEVEL_UPGRADED("USER_LEVEL_UPGRADED", "会员升级"),
    ;
    private final String code;
    private final String desc;

//    @Data
//    public static class UserScanInviteQrcode {
//
//        private String openid;
//
//        private String scene;
//
//    }
//
//    public static String userScanInviteQrcode(String openid, String scene) {
//        UserScanInviteQrcode userScanInviteQrcode = new UserScanInviteQrcode();
//        userScanInviteQrcode.setOpenid(openid);
//        userScanInviteQrcode.setScene(scene);
//        return JSONUtil.toJsonStr(userScanInviteQrcode);
//    }

}
